package com.pro.service;

import com.pro.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YuQing
 * @date 2022/1/11 16:38
 */
public interface JsExamineService {
    /**
     * @author: YuQing
     * @date: 2022/1/11
     * @description: 计算审核个数
     */
    Integer getExamineNum(@Param("result") String result, @Param("type") Integer type);
    /**
     * @author: YuQing
     * @date: 2022/1/11
     * @description: 修改审核状态
     */
    Boolean updateRecordResult(JsCourseRecord courseRecord);
    /**
     * @author: YuQing
     * @date: 2022/1/12
     * @description: 查询课程分类
     */
    List<JsCourseClass> getCourseClass();
    /**
     * @author: YuQing
     * @date: 2022/1/12
     * @description: 查询课程
     */
    List<JsCourse> getCourses(JsCourse course);
    /**
     * @author: YuQing
     * @date: 2022/1/12
     * @description: 查询课程详情
     */
    JsCourse getCourseInformation(@Param("type") Integer type,@Param("id") Integer id);
    /**
     * @author: YuQing
     * @date: 2022/1/13
     * @description: 课程高级检索
     */
    List<JsCourse> searchCourse(JsCourse course);
    /**
     * @author: YuQing
     * @date: 2022/1/13
     * @description: 修改课程审核状态
     */
    Boolean updateCourseRecord(JsCourse course);
    /**
     * @author: YuQing
     * @date: 2022/1/13
     * @description: 查询微圈分类
     */
    List<JsActicleCategroy> getActicleCategroy();
    /**
     * @author: YuQing
     * @date: 2022/1/14
     * @description: 查询微圈
     */
    List<JsMicrocircle> getMicrocircle(JsMicrocircle microcircle);
    /**
     * @author: YuQing
     * @date: 2022/1/14
     * @description: 查询微圈详情
     */
    JsMicrocircle getMicrocircleInformation(@Param("type") Integer type,@Param("id") Integer id);
    /**
     * @author: YuQing
     * @date: 2022/1/14
     * @description: 修改微圈状态
     */
    Boolean updateMicrocircleDetails(JsMicrocircle microcircle);
    /**
     * @author: YuQing
     * @date: 2022/1/14
     * @description: 添加审核日志
     */
    Boolean addAuditLog(JsAuditLog auditLog);
    /**
     * @author: YuQing
     * @date: 2022/1/14
     * @description: 查询审核日志
     */
    List<JsAuditLog> getExamineLog(JsAuditLog auditLog);
    /**
     * @author: YuQing
     * @date: 2022/1/14
     * @description: 删除审核日志
     */
    Boolean deleteAuditLog(Integer id);

}
